﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cs期中作业
{
    public partial class 入住管理 : Form
    {
        public 入住管理()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new 入住添加().ShowDialog();
        }
        
        private void Button2_Click(object sender, EventArgs e)
        {
            new 入住删除().ShowDialog();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            new 入住查询().ShowDialog();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void 入住管理_FormClosing(object sender, FormClosingEventArgs e)
        {
            new 主菜单().Show();
        }
    }
}
